package com.etrans.web.gps.common.exception;


/**
 * 执行业务发生异常基类
 * @author pengf
 *
 */
public class BissinessException extends Exception { 
	private static final long serialVersionUID = 4461543909954500650L;
	
	/**
     * 错误代码
     */
    private String code;
    
    public BissinessException(String message, String code) { 
        super(message); 
        this.code = code; 
    } 
    
    public BissinessException(String message) { 
        super(message); 
    } 
    
	public BissinessException(Throwable cause) {
		super(cause);
	}
 
    public BissinessException(Exception e) { 
        super(e); 
    } 
    
    public BissinessException(String message, Exception e) {
        super(message); 
    } 
 
    
    public String getCode() { 
        return this.code; 
    } 
} 
